package com.dongjiantong.farmrecords.model;

import com.dongjiantong.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 散户养殖档案 (生产记录)
 */

@Data
@Table(name = "farmrecords_retail_production")
public class FarmRecordsRetailProduction extends BaseEntity implements Serializable {
    private String number;

    private Integer province_id;

    private Integer city_id;

    private Integer region_id;

    private Integer street_id;

    private Integer village_id;

    /**
     * 畜主
     */
    private String name;

    /**
     * 畜主电话
     */
    private String mobile;

    private Long farm_id;

    private String farm_name;

    private Integer breed_type;

    private Integer breed_second_type;

    private Integer breed_third_type;

    /**
     * 畜种单位
     */
    private Integer unit;

    /**
     * 做单时间
     */
    private Date date;

    /**
     * 仔存栏
     */
    private Integer yong_stock;

    /**
     * 肉存栏
     */
    private Integer meat_stock;

    /**
     * 公存栏
     */
    private Integer male_stock;

    /**
     * 母存栏
     */
    private Integer female_stock;

    private Integer origin_stock;

    /**
     * 存栏
     */
    private Integer stock;

    /**
     * 圈舍面积
     */
    private String acreage;

    /**
     * 变动数
     */
    private Integer change_quantity;

    /**
     * 死淘数
     */
    private Integer death_quantity;

    /**
     * 饲料种类
     */
    private Integer feed_type;

    /**
     * 其他饲料种类
     */
    private String other_feed_type;

    private Double feed_quantity;

    private Integer feed_unit;

    private String manufacturer;

    private Date manufacturer_date;

    private Integer status;

    private Integer delete_flag;

    private Date created_at;

    private Date updated_at;

    private String photo_json;
}